package gof.com.yew.decorator;

//ConcreteDecorator具体装饰角色
public class AICarDecorator extends CarDecorator {

	public AICarDecorator(ICar car) {
		super(car);
	}
	
	public void run() {
		car.run();
		move();
	}
	
	public void move() {
		System.out.println("车可以自动驾驶运行！");
	}

}
